<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>星座运程 - 星运社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #f5f7fa;
            color: #333;
        }
        
        /* 导航栏 */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #6c5ce7;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* 页面标题 */
        .page-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #4a4a4a;
        }
        
        .page-subtitle {
            color: #6c757d;
            margin-bottom: 2rem;
        }
        
        /* 筛选区域 */
        .filters-container {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .filter-section {
            margin-bottom: 1.5rem;
        }
        
        .filter-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #495057;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* 星座筛选 */
        .zodiac-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .zodiac-filter {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px;
            border-radius: 10px;
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            color: #495057;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            width: 65px;
        }
        
        .zodiac-filter.active {
            background-color: #6c5ce7;
            color: white;
            border-color: #6c5ce7;
        }
        
        .zodiac-filter:hover:not(.active) {
            border-color: #6c5ce7;
            color: #6c5ce7;
            transform: translateY(-3px);
        }
        
        .zodiac-icon {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }
        
        /* 时间和类型筛选 */
        .time-type-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }
        
        .custom-select-wrapper {
            flex: 1;
            min-width: 200px;
        }
        
        .form-select {
            border-radius: 8px;
            padding: 10px 16px;
            border-color: #dee2e6;
        }
        
        /* 高级筛选按钮 */
        .advanced-filter-btn {
            background-color: transparent;
            border: 1px solid #dee2e6;
            color: #495057;
            padding: 10px 16px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }
        
        .advanced-filter-btn:hover {
            border-color: #6c5ce7;
            color: #6c5ce7;
        }
        
        /* 搜索框 */
        .search-container {
            position: relative;
            margin-bottom: 1.5rem;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 16px 12px 40px;
            border-radius: 8px;
            border: 1px solid #dee2e6;
            font-size: 1rem;
            transition: all 0.2s;
        }
        
        .search-input:focus {
            outline: none;
            border-color: #6c5ce7;
            box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
        }
        
        .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
        }
        
        /* 高级筛选面板 */
        .advanced-filters {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1.25rem;
            margin-top: 1rem;
            display: none;
        }
        
        .advanced-filters.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .filter-group {
            margin-bottom: 1rem;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        /* 筛选结果统计和视图切换 */
        .results-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e9ecef;
        }
        
        .results-count {
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .view-options {
            display: flex;
            gap: 0.5rem;
        }
        
        .view-btn {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            border: 1px solid #dee2e6;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .view-btn.active {
            background-color: #6c5ce7;
            color: white;
            border-color: #6c5ce7;
        }
        
        /* 星座运程卡片 */
        .horoscope-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
            margin-bottom: 1.5rem;
        }
        
        .horoscope-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .horoscope-list-view .horoscope-card {
            display: flex;
        }
        
        .horoscope-grid-view {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .horoscope-grid-view .horoscope-card {
            display: flex;
            flex-direction: column;
        }
        
        .horoscope-header {
            padding: 1.25rem;
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
            color: white;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .horoscope-list-view .horoscope-header {
            flex-direction: column;
            justify-content: center;
            min-width: 120px;
            text-align: center;
        }
        
        .zodiac-sign {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        
        .zodiac-name {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .horoscope-date {
            font-size: 0.85rem;
            opacity: 0.9;
        }
        
        .horoscope-period {
            background-color: rgba(255,255,255,0.2);
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
        }
        
        .horoscope-content {
            padding: 1.25rem;
            flex: 1;
        }
        
        .horoscope-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #4a4a4a;
        }
        
        .horoscope-overview {
            color: #6c757d;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.25rem;
        }
        
        .horoscope-aspects {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
            margin-bottom: 1.25rem;
        }
        
        .aspect-item {
            text-align: center;
        }
        
        .aspect-icon {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            color: #6c5ce7;
        }
        
        .aspect-name {
            font-size: 0.85rem;
            margin-bottom: 0.25rem;
            color: #495057;
        }
        
        .aspect-rating {
            display: flex;
            justify-content: center;
            gap: 2px;
        }
        
        .rating-star {
            color: #dfe6e9;
            font-size: 0.8rem;
        }
        
        .rating-star.filled {
            color: #fdcb6e;
        }
        
        .horoscope-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .author-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-name {
            font-size: 0.9rem;
            color: #6c757d;
        }
        
        .horoscope-actions {
            display: flex;
            gap: 1rem;
        }
        
        .action-btn {
            color: #6c757d;
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        
        .action-btn:hover {
            color: #6c5ce7;
        }
        
        .action-btn.liked {
            color: #e74c3c;
        }
        
        .action-btn.saved {
            color: #fdcb6e;
        }
        
        /* 运势类型标签 */
        .horoscope-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .horoscope-tag {
            font-size: 0.8rem;
            padding: 3px 10px;
            border-radius: 4px;
            background-color: #f1f3f5;
            color: #495057;
        }
        
        /* 加载更多按钮 */
        .load-more {
            display: block;
            margin: 2rem auto;
            padding: 10px 24px;
            background-color: white;
            border: 1px solid #6c5ce7;
            color: #6c5ce7;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .load-more:hover {
            background-color: #6c5ce7;
            color: white;
        }
        
        /* 页脚 */
        footer {
            background-color: white;
            padding: 3rem 0;
            margin-top: 3rem;
            border-top: 1px solid #e9ecef;
        }
       
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .horoscope-list-view .horoscope-card {
                flex-direction: column;
            }
            
            .horoscope-list-view .horoscope-header {
                flex-direction: row;
                text-align: left;
            }
            
            .time-type-filters {
                flex-direction: column;
                align-items: stretch;
            }
            
            .advanced-filter-btn {
                width: 100%;
                justify-content: center;
            }
            
            .zodiac-filters {
                justify-content: center;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg py-3">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-star"></i>
                <span>星运社交</span>
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarContent">
                <ul class="navbar-nav ms-auto gap-3">
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-home me-1"></i> 首页</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link active"><i class="fas fa-moon me-1"></i> 星座运程</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-users me-1"></i> 星友圈</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-bell me-1"></i> 通知</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="btn" style="background-color: #6c5ce7; color: white;">
                            <i class="fas fa-plus me-1"></i> 发布运势
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="container py-5">
        <h1 class="page-title">星座运程</h1>
        <p class="page-subtitle">探索12星座的每日、每周、每月运势，发现属于你的星象指引</p>
        
        <!-- 筛选容器 -->
        <div class="filters-container">
            <!-- 搜索框 -->
            <div class="search-container">
                <i class="fas fa-search search-icon"></i>
                <input type="text" class="search-input" placeholder="搜索星座、运势类型或占星师...">
            </div>
            
            <!-- 星座筛选 -->
            <div class="filter-section">
                <h3 class="filter-title">
                    <i class="fas fa-star"></i> 星座筛选
                </h3>
                <div class="zodiac-filters">
                    <div class="zodiac-filter active">
                        <i class="fas fa-star zodiac-icon"></i>
                        <span>全部</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-sun zodiac-icon"></i>
                        <span>白羊座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-bullhorn zodiac-icon"></i>
                        <span>金牛座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-twin zodiac-icon"></i>
                        <span>双子座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-crab zodiac-icon"></i>
                        <span>巨蟹座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-sun zodiac-icon"></i>
                        <span>狮子座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-virgo zodiac-icon"></i>
                        <span>处女座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-balance-scale zodiac-icon"></i>
                        <span>天秤座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-scorpion zodiac-icon"></i>
                        <span>天蝎座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-arrow-up zodiac-icon"></i>
                        <span>射手座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-goat zodiac-icon"></i>
                        <span>摩羯座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-water zodiac-icon"></i>
                        <span>水瓶座</span>
                    </div>
                    <div class="zodiac-filter">
                        <i class="fas fa-fish zodiac-icon"></i>
                        <span>双鱼座</span>
                    </div>
                </div>
            </div>
            
            <!-- 时间和类型筛选 -->
            <div class="filter-section">
                <h3 class="filter-title">
                    <i class="fas fa-sort"></i> 时间与类型
                </h3>
                <div class="time-type-filters">
                    <div class="custom-select-wrapper">
                        <select class="form-select">
                            <option value="">全部时间范围</option>
                            <option value="daily">每日运势</option>
                            <option value="weekly">每周运势</option>
                            <option value="monthly">每月运势</option>
                            <option value="yearly">年度运势</option>
                        </select>
                    </div>
                    
                    <div class="custom-select-wrapper">
                        <select class="form-select">
                            <option value="">全部运势类型</option>
                            <option value="love">爱情运势</option>
                            <option value="career">事业运势</option>
                            <option value="finance">财运运势</option>
                            <option value="health">健康运势</option>
                            <option value="comprehensive">综合运势</option>
                        </select>
                    </div>
                    
                    <button class="advanced-filter-btn" id="advancedFilterBtn">
                        <i class="fas fa-sliders-h"></i> 高级筛选
                    </button>
                </div>
                
                <!-- 高级筛选面板 -->
                <div class="advanced-filters" id="advancedFilters">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="filter-group">
                                <label class="filter-label">运势来源</label>
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" id="officialSource" checked>
                                    <label class="form-check-label" for="officialSource">官方占星师</label>
                                </div>
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" id="userSource" checked>
                                    <label class="form-check-label" for="userSource">用户分享</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-md-6">
                            <div class="filter-group">
                                <label class="filter-label">运势评分</label>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="rating" id="ratingAny" checked>
                                    <label class="form-check-label" for="ratingAny">不限</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="rating" id="ratingHigh">
                                    <label class="form-check-label" for="ratingHigh">4星以上</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="rating" id="ratingTop">
                                    <label class="form-check-label" for="ratingTop">5星推荐</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-md-6">
                            <div class="filter-group">
                                <label class="filter-label">发布时间</label>
                                <select class="form-select">
                                    <option value="">全部时间</option>
                                    <option value="today">今天</option>
                                    <option value="week">本周</option>
                                    <option value="month">本月</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="col-md-6">
                            <div class="filter-group">
                                <label class="filter-label">排序方式</label>
                                <select class="form-select">
                                    <option value="recommend">推荐排序</option>
                                    <option value="latest">最新发布</option>
                                    <option value="popular">热门优先</option>
                                    <option value="highestRated">评分最高</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    
                    <div class="d-flex gap-2 mt-2">
                        <button class="btn" style="background-color: #6c5ce7; color: white;">应用筛选</button>
                        <button class="btn btn-outline-secondary">重置</button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 筛选结果统计和视图切换 -->
        <div class="results-stats">
            <div class="results-count">找到 <strong>36</strong> 个符合条件的星座运程</div>
            <div class="view-options">
                <button class="view-btn active" id="listViewBtn" title="列表视图">
                    <i class="fas fa-list"></i>
                </button>
                <button class="view-btn" id="gridViewBtn" title="网格视图">
                    <i class="fas fa-th"></i>
                </button>
            </div>
        </div>
        
        <!-- 星座运程列表 -->
        <div class="horoscope-list horoscope-list-view" id="horoscopeContainer">
            <!-- 星座运程卡片1 -->
            <div class="horoscope-card">
                <div class="horoscope-header">
                    <i class="fas fa-sun zodiac-sign"></i>
                    <div>
                        <div class="zodiac-name">狮子座</div>
                        <div class="horoscope-date">7月23日-8月22日</div>
                        <div class="horoscope-period">今日运势</div>
                    </div>
                </div>
                <div class="horoscope-content">
                    <h3 class="horoscope-title">狮子座今日运势：能量充沛，适合主动出击</h3>
                    
                    <div class="horoscope-tags">
                        <span class="horoscope-tag">综合运势</span>
                        <span class="horoscope-tag">爱情</span>
                        <span class="horoscope-tag">事业</span>
                    </div>
                    
                    <p class="horoscope-overview">
                        今日狮子座的整体运势表现出色，太阳的能量加持让你充满自信与活力。在工作上，适合主动承担新任务，你的领导力将得到认可。感情方面，单身狮子有机会遇到心仪对象，已有伴侣的狮子则能感受到关系的升温。
                    </p>
                    
                    <div class="horoscope-aspects">
                        <div class="aspect-item">
                            <i class="fas fa-heart aspect-icon"></i>
                            <div class="aspect-name">爱情</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-briefcase aspect-icon"></i>
                            <div class="aspect-name">事业</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-money aspect-icon"></i>
                            <div class="aspect-name">财运</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-heartbeat aspect-icon"></i>
                            <div class="aspect-name">健康</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                    </div>
                    
                    <div class="horoscope-footer">
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=301" alt="占星师莉莉的头像" class="author-avatar">
                            <span class="author-name">占星师莉莉</span>
                        </div>
                        <div class="horoscope-actions">
                            <button class="action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>128</span>
                            </button>
                            <button class="action-btn comment-btn">
                                <i class="far fa-comment"></i>
                                <span>32</span>
                            </button>
                            <button class="action-btn save-btn">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 星座运程卡片2 -->
            <div class="horoscope-card">
                <div class="horoscope-header">
                    <i class="fas fa-scorpion zodiac-sign"></i>
                    <div>
                        <div class="zodiac-name">天蝎座</div>
                        <div class="horoscope-date">10月24日-11月22日</div>
                        <div class="horoscope-period">本周运势</div>
                    </div>
                </div>
                <div class="horoscope-content">
                    <h3 class="horoscope-title">天蝎座本周运势：人际关系有新突破，财务需谨慎</h3>
                    
                    <div class="horoscope-tags">
                        <span class="horoscope-tag">综合运势</span>
                        <span class="horoscope-tag">财运</span>
                        <span class="horoscope-tag">人际关系</span>
                    </div>
                    
                    <p class="horoscope-overview">
                        本周天蝎座在人际关系方面会有惊喜，可能会认识对你事业发展有帮助的重要人物。工作上，团队合作项目进展顺利，但需注意沟通细节。财务方面，避免冲动投资，做好预算规划更为重要。健康方面，注意休息，避免熬夜。
                    </p>
                    
                    <div class="horoscope-aspects">
                        <div class="aspect-item">
                            <i class="fas fa-heart aspect-icon"></i>
                            <div class="aspect-name">爱情</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-briefcase aspect-icon"></i>
                            <div class="aspect-name">事业</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-money aspect-icon"></i>
                            <div class="aspect-name">财运</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-heartbeat aspect-icon"></i>
                            <div class="aspect-name">健康</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                    </div>
                    
                    <div class="horoscope-footer">
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=302" alt="占星师天宇的头像" class="author-avatar">
                            <span class="author-name">占星师天宇</span>
                        </div>
                        <div class="horoscope-actions">
                            <button class="action-btn like-btn liked">
                                <i class="fas fa-heart"></i>
                                <span>96</span>
                            </button>
                            <button class="action-btn comment-btn">
                                <i class="far fa-comment"></i>
                                <span>18</span>
                            </button>
                            <button class="action-btn save-btn">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 星座运程卡片3 -->
            <div class="horoscope-card">
                <div class="horoscope-header">
                    <i class="fas fa-fish zodiac-sign"></i>
                    <div>
                        <div class="zodiac-name">双鱼座</div>
                        <div class="horoscope-date">2月19日-3月20日</div>
                        <div class="horoscope-period">本月运势</div>
                    </div>
                </div>
                <div class="horoscope-content">
                    <h3 class="horoscope-title">双鱼座本月运势：创造力爆发，感情有新发展</h3>
                    
                    <div class="horoscope-tags">
                        <span class="horoscope-tag">爱情运势</span>
                        <span class="horoscope-tag">创造力</span>
                    </div>
                    
                    <p class="horoscope-overview">
                        本月双鱼座的创造力将达到顶峰，适合从事任何需要想象力的工作。在感情方面，单身双鱼可能会遇到一见钟情的对象，而已有伴侣的双鱼则会感受到关系更加亲密。财务方面较为平稳，投资需谨慎。健康方面，多进行户外活动有助于保持好心情。
                    </p>
                    
                    <div class="horoscope-aspects">
                        <div class="aspect-item">
                            <i class="fas fa-heart aspect-icon"></i>
                            <div class="aspect-name">爱情</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-briefcase aspect-icon"></i>
                            <div class="aspect-name">事业</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-money aspect-icon"></i>
                            <div class="aspect-name">财运</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-heartbeat aspect-icon"></i>
                            <div class="aspect-name">健康</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                    </div>
                    
                    <div class="horoscope-footer">
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=303" alt="占星师风儿的头像" class="author-avatar">
                            <span class="author-name">占星师风儿</span>
                        </div>
                        <div class="horoscope-actions">
                            <button class="action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>156</span>
                            </button>
                            <button class="action-btn comment-btn">
                                <i class="far fa-comment"></i>
                                <span>42</span>
                            </button>
                            <button class="action-btn save-btn saved">
                                <i class="fas fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 星座运程卡片4 -->
            <div class="horoscope-card">
                <div class="horoscope-header">
                    <i class="fas fa-bullhorn zodiac-sign"></i>
                    <div>
                        <div class="zodiac-name">金牛座</div>
                        <div class="horoscope-date">4月20日-5月20日</div>
                        <div class="horoscope-period">年度运势</div>
                    </div>
                </div>
                <div class="horoscope-content">
                    <h3 class="horoscope-title">金牛座年度运势：财运亨通，适合稳健投资</h3>
                    
                    <div class="horoscope-tags">
                        <span class="horoscope-tag">年度运势</span>
                        <span class="horoscope-tag">财运</span>
                        <span class="horoscope-tag">事业</span>
                    </div>
                    
                    <p class="horoscope-overview">
                        本年度金牛座的整体运势向好，尤其是财运方面表现突出。工作上会有稳定的进展，可能会有晋升或加薪的机会。感情方面，稳定是关键词，已有伴侣的金牛座关系将更加稳固，单身金牛也有机会遇到长久稳定的关系。健康方面需注意饮食均衡。
                    </p>
                    
                    <div class="horoscope-aspects">
                        <div class="aspect-item">
                            <i class="fas fa-heart aspect-icon"></i>
                            <div class="aspect-name">爱情</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-briefcase aspect-icon"></i>
                            <div class="aspect-name">事业</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-money aspect-icon"></i>
                            <div class="aspect-name">财运</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-heartbeat aspect-icon"></i>
                            <div class="aspect-name">健康</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                    </div>
                    
                    <div class="horoscope-footer">
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=304" alt="占星师明远的头像" class="author-avatar">
                            <span class="author-name">占星师明远</span>
                        </div>
                        <div class="horoscope-actions">
                            <button class="action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>215</span>
                            </button>
                            <button class="action-btn comment-btn">
                                <i class="far fa-comment"></i>
                                <span>67</span>
                            </button>
                            <button class="action-btn save-btn">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 加载更多按钮 -->
        <button class="load-more">
            <i class="fas fa-spinner fa-spin me-2" style="display: none;"></i>
            加载更多运势
        </button>
    </div>
    
    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="text-center">
                <div class="mb-3">
                    <a href="#" class="logo">
                        <i class="fas fa-star"></i>
                        <span>星运社交</span>
                    </a>
                </div>
                <p class="text-muted mb-3">探索星象奥秘，连接星座爱好者</p>
                <div class="d-flex justify-content-center gap-4 mb-4">
                    <a href="#" class="text-muted"><i class="fab fa-weibo fa-lg"></i></a>
                    <a href="#" class="text-muted"><i class="fab fa-wechat fa-lg"></i></a>
                    <a href="#" class="text-muted"><i class="fab fa-instagram fa-lg"></i></a>
                </div>
                <p class="text-muted text-sm">&copy; 2023 星运社交 版权所有</p>
            </div>
        </div>
    </footer>


    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 高级筛选面板切换
        const advancedFilterBtn = document.getElementById('advancedFilterBtn');
        const advancedFilters = document.getElementById('advancedFilters');
        
        advancedFilterBtn.addEventListener('click', function() {
            advancedFilters.classList.toggle('show');
        });
        
        // 星座筛选功能
        const zodiacFilters = document.querySelectorAll('.zodiac-filter');
        zodiacFilters.forEach(tag => {
            tag.addEventListener('click', function() {
                zodiacFilters.forEach(t => t.classList.remove('active'));
                this.classList.add('active');
                showNotification(`已筛选：${this.querySelector('span').textContent}`);
                // 这里可以添加实际筛选逻辑
            });
        });
        
        // 视图切换功能
        const listViewBtn = document.getElementById('listViewBtn');
        const gridViewBtn = document.getElementById('gridViewBtn');
        const horoscopeContainer = document.getElementById('horoscopeContainer');
        
        listViewBtn.addEventListener('click', function() {
            horoscopeContainer.classList.remove('horoscope-grid-view');
            horoscopeContainer.classList.add('horoscope-list-view');
            listViewBtn.classList.add('active');
            gridViewBtn.classList.remove('active');
        });
        
        gridViewBtn.addEventListener('click', function() {
            horoscopeContainer.classList.remove('horoscope-list-view');
            horoscopeContainer.classList.add('horoscope-grid-view');
            gridViewBtn.classList.add('active');
            listViewBtn.classList.remove('active');
        });
        
        // 点赞功能
        document.querySelectorAll('.like-btn').forEach(button => {
            button.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const countElem = this.querySelector('span');
                const currentCount = parseInt(countElem.textContent);
                
                if (icon.classList.contains('far')) {
                    // 点赞
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.classList.add('liked');
                    countElem.textContent = currentCount + 1;
                    showNotification('点赞成功');
                } else {
                    // 取消点赞
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.classList.remove('liked');
                    countElem.textContent = currentCount - 1;
                    showNotification('取消点赞');
                }
            });
        });
        
        // 收藏功能
        document.querySelectorAll('.save-btn').forEach(button => {
            button.addEventListener('click', function() {
                const icon = this.querySelector('i');
                
                if (icon.classList.contains('far')) {
                    // 收藏
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.classList.add('saved');
                    showNotification('收藏成功');
                } else {
                    // 取消收藏
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.classList.remove('saved');
                    showNotification('取消收藏');
                }
            });
        });
        
        // 评论按钮点击
        document.querySelectorAll('.comment-btn').forEach(button => {
            button.addEventListener('click', function() {
                const title = this.closest('.horoscope-card').querySelector('.horoscope-title').textContent;
                showNotification(`查看 "${title.substring(0, 15)}..." 的评论`);
            });
        });
        
        // 加载更多
        const loadMoreBtn = document.querySelector('.load-more');
        loadMoreBtn.addEventListener('click', function() {
            const spinner = this.querySelector('i');
            spinner.style.display = 'inline-block';
            this.disabled = true;
            
            // 模拟加载延迟
            setTimeout(() => {
                spinner.style.display = 'none';
                this.disabled = false;
                showNotification('已加载更多星座运程');
                // 这里可以添加实际加载更多逻辑
            }, 1500);
        });
  
        
        // 搜索功能
        const searchInput = document.querySelector('.search-input');
        searchInput.addEventListener('keypress', function(e) {
            if (e.key === 'Enter') {
                const searchTerm = this.value.trim();
                if (searchTerm) {
                    showNotification(`正在搜索: ${searchTerm}`);
                    // 这里可以添加实际搜索逻辑
                }
            }
        });
        
        // 筛选器变化
        document.querySelectorAll('.form-select').forEach(select => {
            select.addEventListener('change', function() {
                showNotification(`已选择: ${this.options[this.selectedIndex].text}`);
                // 这里可以添加实际筛选逻辑
            });
        });
        
        // 评分筛选变化
        document.querySelectorAll('input[name="rating"]').forEach(radio => {
            radio.addEventListener('change', function() {
                if (this.checked) {
                    showNotification(`已选择: ${this.nextElementSibling.textContent}`);
                }
            });
        });
    </script>
</body>
</html>
    
